.App {
  text-align: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.App-header {
  background-color: #282c34;
  padding: 20px;
  color: white;
  margin-bottom: 30px;
  border-radius: 8px;
}

.App-header h1 {
  margin: 0;
}

main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}

section {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
}

.add-keyword {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.add-keyword input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.add-keyword button {
  padding: 8px 16px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.keywords-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.keyword-item {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: white;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.category {
  color: #666;
  font-size: 0.9em;
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.article-item {
  background: white;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  text-align: left;
}

.article-item h3 {
  margin: 0 0 10px 0;
  color: #333;
}

.article-item p {
  color: #666;
  margin: 0 0 15px 0;
}

.article-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 0.9em;
  color: #888;
}

.article-item a {
  color: #007bff;
  text-decoration: none;
}

.article-item a:hover {
  text-decoration: underline;
}

button {
  padding: 10px 20px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 20px;
}

button:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  main {
    grid-template-columns: 1fr;
  }
}